home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format: Get the Most Out of Your Amiga / Amiga Format - Get the Most Out of Your Amiga (1991)(Future Publishing)(GB)(Disk 1 of 2).adf / SafeBoot / SafeBoot.DOC (.png) < prev    next >
ANSI Art File  |  1978-06-19  |  9KB  |  640x2704
Labels: text | screenshot | font | document
OCR: Safelloot U2.2 -1988 Mark Lanoux UnderSea World Software 03-0ct-88 Docs revised: 29-Oct-88 Boring stuff! This program is HOT public domain, nor Shareware, The author (net) etains all rights, Safelloot is Copyrighted, therefore it mwy not be cold taj anyone without my permission. This program may be distributed freely as long as all the files in the archive accompany it. brief history of SafeBoot: V1.0 V1.1 CLI based only Through in sone basic Workbench support .. . U2.0 02.1 Trashed the old interface, added the Ary file requester Mistakenly release. . found a bug at the last minute after uploaded to Grale Replaced forp file requester with one of my oun doing, added "loop node' so multilple saves/restores can be done without having to restart each time who knows what the future holds. . . equirenentai The only requirement, other then Kickstart/Workbench 1.2 ., is to hive the BootIcon file in the directory that you start SafeBoot fron. This file is actually the . Info file that will be created for amy files that you saue IT you run under WorkBench. If you run from the CLI exclusiuly, you do not have to have this file for Safelloot to work. synopsis: The virus problem is well knows in the finiga community. These virus are brought into the system from the boot sectors of a bootable disk, and sually spread like wildfire unless detected. The mincrous vires checkers ut there in PD land do the trick, but one problen is if the virus infects the boot sectors of commercial disks, which occasionaly have special code Imbedded there which is needed to start the program, that disk will be endered useless. This program was written to solve that probien, Safelloot will allow the user to save caston boot sectors of all your connercial disks and save then for such an energency. If a vires sonchow Manages to trash the boot sectors of a commercial disk, just run SafeBoot barned noncy!). and it will restore the boot sectors, therefore saving your disk! (and hard INSTRUCTIONS ! SafeBloot is rumable from Workbench and the CLI. If you run it from Jorkbench, an icon for the saued boot block data file will be created. lenenber, for the icon to be created, the BootIcon file must be in the Directory that you start Safelloot fromt When the progran starts, a small window cones up and you are presented with nine gadgets. These gadgets are all thats needed to run the program. Here is a Layout of the gadgets1 Baue Restore DPO: D1: DF2: DF3: > (this Is NOT a gadget) Status! Volune Mane Custon Mane Save Sets the progran into save node whereby the user nay save the boot block data from a bootable disk. When clicked on, Save will be printed next to the > . Restore Acts like save, but this will allow the user to restore a boot block to a bootable disk, Restore will be printed next to the > . DTO: DF1: These gadgets select which drive the bootable disk whose DFZ: BF3: boot block is to be saved/restored is placed. The drive selected will be printed next to the > . Volune Mane Hitting this gadget will affect SafeBoot depending on which node (Saue or Restore) you are in. If in Save node, the file that will be saved will be given the nane of the disk volune whose data is to be saved. The data file will be saved in the directory that SafeBoot was started fron. In Restore node, Safeboot will look for the date file with the disk volune nane whose boot block is to be restored. This file is searched for in the directory SafeBoot was started from. Custom Marc This gadget puts up the file requester You may select files by clicking on their nanes, and to enter directories you just click on the directory none. To back out of a directory, hit the Parent Dir gadget. If you need to change drives or euen devices, use the proportional gadget on the right hand side to display the bottom of the listing. At the end is a list of AnigaDds drives and devices. Clicking on these will send you to any drive or device that you have nounted. To select the file, you have 3 choices. First, you may go to the string gadget near the botton of the requester and type in a nanc. Second, you can click on a nane im the list, it will then appear in the string gadget. Or third, you may go to any directory you wish and click in the string gadget. If you delete all the characters in the string gadget (if any at all), then Safelloot will use the . then Safelloot volune nane of the target disk. This is like hitting the 11 use the This is like hitting the Volunne Mame gadget, except that you can specify in which directory the file is. Finally. If you are satisfied with the filesame, click in the Use It gadget. To abort at any tine, click the CANCEL gadget. Exit Quits the program. When you have selected the node of operation, the drive uhere the bootable disk is located, and the filenane, the actual work begins. If all is ok, the filename that Is created/accessed will be printed is the Workbench Screen's title bar. If there is an error, a small error message will be printed to alert the user. There is no required order of operation, but a sample run may be as follous. For a save, first click on the Save gadget. Next, select the disk drive gadget where the bootable disk is placed. Finally, decide on whether you want to use a custon wane or the disk volune nane To restore a boot block, just select the Restore gadget and follow the sane pattern as above. As a little bit of added protection. if you attempt to save a bootblock, and a file with the sane nane that you wish to use already exists, SafeBoot pats up a requester asking whether or not you wish to overwrite the old file. Click on Save Anguay to overwrite the file, otherwise just click on Cancel. At the time of saving, a checksun is calculated and saued as part of the header. When a restore is attempted, the checksun is recalculated and compared to the checksum is the saved header. If they do not natch for some reason, a requester is displayed warning the user, and a choice is given on whether to proceed or abort is given. A note on restoring boot blocks. SafeBoot saves as part of the data file a header, this header contain the volume mane of the disk it was saved from. If you attempt to restore a boot block data file to the disk that is was not originally from, SafeBoot puts a requester warning you. You may then proceed to restore, or abort. If you give a boot block data file a less than descript filenane, you should go to the CLI and do a TYPE (datafile> OFT H for a hex dung of the file. You will see on the first line 'BootBlock for:' and on the second line will appear the volume wane this boot block file is for. But, for the easiest way to check the volume wane for a particular file, just check But, for the that file's comnent. You can do this in the CLI by listing the file or by getting a directory where the file is. The comment line will show "BootBlock for:" and the volume mame will be printed here. If you run from Workbench, just click on the icon for the data file, and select the "Info" menu selection from the Project menu. This program uas written in Benchmark Modula-2. I would like to thank the following people, who in one way or the other, helped me to finish this program (after heavy-duty testing): Patrick Goedean who gave ne programming tips, help, suggestions. Paul Troath who drew the great icons, thanx Pault John Palner who gave ne the idea and who has helped test this program. If you wish to thank me, gripe, complain, give money, etc, I can be reached at the following address! Mark Lanoux 4417 Barkhan fwvenue Jefferson, LA 70121 USA The source is available from me, just send ne a blank disk and it will be promptly returned. This program can be found on our board, UnderSea World BES (504)-341-5323. Is also in the New Orleans Connodore Klub CHOCK) library on It's C-ulation